Hiding the Complexity of Concurrent Indexes

نویسندگان

  • Pedro da Rocha Pinto
  • Thomas Dinsdale-Young
  • Mike Dodds
  • Philippa Gardner
  • Mark Wheelhouse
چکیده

Index data structures, such as B trees and hash tables, are commonly used in database implementations. A database implementor typically works with a high-level view of indexes as mappings from keys to values. Using this high-level view, he is able to build up complex abstractions such as transactions, without needing to know exactly how indexes work ‘under the hood’. This high-level intuition breaks down when the index is accessed concurrently. If two threads share access to a key, neither can be sure whether the other has removed its value. A specification of a concurrent index must account for this sharing. Also, the algorithms that implement concurrent indexes are highly complex and subtle. Justifying the use of a high-level specification requires hiding the complexity of an implementation and is thus a major challenge. In this paper, we give an abstract specification for concurrent indexes, and prove that it is satisfied by concrete implementations. Our specification captures high-level sharing of index elements, allowing collaboration between threads. We show that a widely-used implementation based on B trees is correct with respect to our abstract specification. Finally, we demonstrate that our specification is useful by verifying several client algorithms.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Concurrency Control for Adaptive Indexing

Adaptive indexing initializes and optimizes indexes incrementally, as a side effect of query processing. The goal is to achieve the benefits of indexes while hiding or minimizing the costs of index creation. However, index-optimizing side effects seem to turn readonly queries into update transactions that might, for example, create lock contention. This paper studies concurrency control in the ...

متن کامل

A survey on digital data hiding schemes: principals, algorithms, and applications

This paper investigates digital data hiding schemes. The concept of information hiding will be explained at first, and its traits, requirements, and applications will be described subsequently. In order to design a digital data hiding system, one should first become familiar with the concepts and criteria of information hiding. Having knowledge about the host signal, which may be audio, image, ...

متن کامل

The effect of knowledge based economic indicators on the countries' economic complexity

Countries’ economic growth and development are significantly dependent on their productive capacity. In this research, we aimed to investigate which components of a knowledge-based economy has a more meaningful role in the production capacity. In order to measure production capacity, we used one of the most up-to-date indexes, the economic complexity index.  The research used data panel consist...

متن کامل

Data Hiding Method Based on Graph Coloring and Pixel Block‘s Correlation in Color Image

An optimized method for data hiding into a digital color image in spatial domainis provided. The graph coloring theory with different color numbers is applied. To enhance thesecurity of this method, block correlations method in an image is used. Experimental results showthat with the same PSNR, the capacity is improved by %8, and also security has increased in themethod compared with other meth...

متن کامل

The effect of eight weeks of concurrent training and rooibos supplement on atherogenic index and some liver enzymes and insulin resistance in overweight woman

Background & Aim: Sports training and the use of herbal supplements, in addition to weight loss properties, can reduce diseases caused by this disease. The purpose of this research was to investigate the effect of eight weeks of concurrent training with rooibos supplement on atherogenic index and insulin resistance and some liver enzymes of overweight women. Methods: 24 overweight women with a...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010